package com.linghu.Service;

import com.alibaba.dashscope.app.ApplicationResult;
import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;
import com.linghu.entity.Ans;

/**
 * @Description:
 * @param
 * @return:
 * @Author: codelinghu
 * @Date: 2024/4/30
 */
public interface QueryApiService {

    public String usage(Ans ans) throws NoApiKeyException, InputRequiredException;
    //检索增强回复
    public ApplicationResult ragCall(Ans ans) throws NoApiKeyException, InputRequiredException;
}
